package com.zilue.payment.gateway.method.card;

import com.zilue.payment.gateway.domain.CorpDO;
import com.zilue.payment.gateway.method.BaseMethod;
import com.zilue.payment.gateway.paramter.BaseParameter;
import com.zilue.payment.gateway.paramter.PublicParameter;
import com.zilue.payment.gateway.reurndata.PublicReturn;
import com.zilue.payment.gateway.reurndata.enums.RequestStatusEnum;
import org.springframework.stereotype.Service;

/**
 * Created by zilue on 2017/3/7.
 */
@Service("hfpay.trade.card.query")
public class Query implements BaseMethod {
    @Override
    public PublicReturn doMethod(CorpDO corpDO, BaseParameter baseParameter) {
        PublicReturn publicReturn=new PublicReturn(RequestStatusEnum.RequestSuccess);
        publicReturn.setMsg("hfpay.trade.card.query");
        return publicReturn;
    }

    @Override
    public Class<? extends BaseParameter> paramterClass() {
        return PublicParameter.class;
    }
}
